package com.mcxx.modules.miniSalvation.family.dao.read;

import com.mcxx.modules.miniSalvation.order.dto.OrderMemberSalaryDTO;
import com.mcxx.modules.miniSalvation.salary.dto.MemberSalaryDTO;
import com.yinhai.ta404.module.mybatis.mapper.Ta404SupportMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface FamilyMemberSalaryReadDao extends Ta404SupportMapper {


    Integer queryMemberSalaryExist(@Param("memberId") String memberId, @Param("nowMonth") String nowMonth);



    Integer getMemberSalaryExistByOrderId(@Param("memberId") String memberId, @Param("nowMonth") String nowMonth, @Param("orderId") String orderId);


    Integer querySalaryExistByMemberId(@Param("memberId")String memberId,@Param("nowMonth")String nowMonth);


    Integer querySalaryByFamilyId(@Param("familyId")String familyId,@Param("nowMonth")String nowMonth);


    List<MemberSalaryDTO> listFamilyMemberSalaryByOrderId(String orderId);
}
